<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript" src="../lib/jquery/jquery-1.11.1.js" ></script>
		<script type="text/javascript" src="../lib/layer/layer.js" ></script>
		<script type="text/javascript">
			layer.ready(function(){
//				layer.alert(
//					'这是一个严重的警告',
//					{icon : 2},
//					function(index){
//						console.log(index);
//						layer.close(index);
//					}
//				);
				layer.confirm(
					'您是不是要删除?',
					{icon : 3,title:'提示'},
					function(index){
						layer.close(index);
					}
				)
			});
		</script>
	</body>
</html>
